<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>分类</title>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" href="css/classify.css" />
	</head>
	<body>
		<div id="web">
			<!--头部部分开始-->
				<div class="group-title">
					<div class="group-return fl"><a href="index.html">Back</a></div>					
					<div class="group-area fr">
						<select name="">
							<option value="gz">广州市</option>
							<option value="sz">深圳市</option>
						</select>
					</div>
					<p>分类</p>
				</div>
			<!--头部部分结束-->
			<div class="session">
				
				
				<!--banner部分开始-->
				<div class="group-banner">
					<ul class="group-bannerImg clearfix">
						<li>
							<a href="">
								<img src="img/banner-01.jpg" alt="" />
								<p>美食</p>
							</a>
						</li>
						<li>
							<a href="">
								<img src="img/banner-02.jpg" alt="" />
								<p>电影</p>
							</a>
						</li>
						<li>
							<a href="">
								<img src="img/banner-03.jpg" alt="" />
								<p>运动</p>
							</a>
						</li>
						<li>
							<a href="">
								<img src="img/banner-04.jpg" alt="" />
								<p>唱歌</p>
							</a>
						</li>
					
					</ul>
					<ul class="group-indicator clearfix">
						<li class="banner-active"></li>
						<li></li>
						<li></li>
						<li></li>
					</ul>
				</div>
				<!--banner部分开始-->
				
				<!--团购分类部分开始-->
				<div class="group-classify clearfix">
					<div class="classify-left fl clearfix">
						<a href="" class="fl">
							<img src="img/product-01.jpg" alt="" />
						</a>
						<p class="fl">美食类</p>
					</div>
					<div class="classify-right fr">
						<a href="" class="fr"><img src="img/index-2.jpg" alt="" /></a>
						<p class="fr">更多</p>					
					</div>
				</div>
				<div class="classify-show">
					<ul>
						<li><img src="img/product-02.jpg" alt="" /></li>
						<li><img src="img/product-03.jpg" alt="" /></li>
						<li><img src="img/product-04.jpg" alt="" /></li>
						<li><img src="img/product-05.jpg" alt="" /></li>
					</ul>
				</div>
				
				<div class="group-classify clearfix">
					<div class="classify-left fl clearfix">
						<a href="" class="fl">
							<img src="img/product-06.jpg" class="yd" alt="" />
						</a>
						<p class="fl">运动类</p>
					</div>
					<div class="classify-right fr">
						<a href="" class="fr"><img src="img/index-2.jpg" alt="" /></a>
						<p class="fr">更多</p>					
					</div>
				</div>
				<div class="classify-show">
					<ul>
						<li><img src="img/product-07.jpg" alt="" /></li>
						<li><img src="img/product-08.jpg" alt="" /></li>
						<li><img src="img/product-09.jpg" alt="" /></li>
						<li><img src="img/product-10.jpg" alt="" /></li>
					</ul>
				</div>
				
				<div class="group-classify clearfix">
					<div class="classify-left fl clearfix">
						<a href="" class="fl">
							<img src="img/product-11.jpg" class="movie" alt="" />
						</a>
						<p class="fl">电影类</p>
					</div>
					<div class="classify-right fr">
						<a href="" class="fr"><img src="img/index-2.jpg" alt="" /></a>
						<p class="fr">更多</p>					
					</div>
				</div>
				<div class="classify-show">
					<ul>
						<li><img src="img/product-12.jpg" alt="" /></li>
						<li><img src="img/product-13.jpg" alt="" /></li>
						<li><img src="img/product-12.jpg" alt="" /></li>
						<li><img src="img/product-13.jpg" alt="" /></li>
					</ul>
				</div>
				
				<!--团购分类部分开始-->
				
				
				
				
				
				
				
			</div>			
			<!--底部-->
			<footer>
				<ul>
					<li>
						<a href="index.html">
							<i class="iconfont icon-path"></i>
							<p>首页</p>
						</a>
					</li>
					<li>
						<a href="classify.html">
							<i class="iconfont icon-classify active"></i>
							<p>分类</p>
						</a>
					</li>
					<li>
						<a href="find.html">
							<i class="iconfont icon-zhinanzhen"></i>
							<p>发现</p>
						</a>
					</li>
					<li>
						<a href="mypage.html">
							<i class="iconfont icon-user"></i>
							<p>我的</p>
						</a>
					</li>
				</ul>
			</footer>
		</div>
		
		
		<!--自动计算根字体大小的脚本-->
		<script>
		//安卓的输入法虚拟键盘会影响body的高度，所以在加载时，将body的原本高度给固定住
		document.body.style.height = window.innerHeight + "px";
		
        /*动态改变根元素字体大小*/
        function recalc() {
            var clientWidth = document.documentElement.clientWidth;
            if(!clientWidth) return;
            document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
        // 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
        }

        function initRecalc() {
            recalc();
            var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
            if(!document.addEventListener) return;
            window.addEventListener(resizeEvt, recalc, false);
            document.addEventListener('DOMContentLoaded', recalc, false);
        }
        initRecalc();
    	</script>
	</body>
</html>
